php forum
php mysql forum
php mysql smarty
 
Page 1 of 4 1 2 3 4 >
Topic Options
#314326 - 06/05/07 02:07 PM [7.0-7.3] RSS Topic Creator [Release Candidate]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
This mod will import RSS feeds as new topics. You can specify which forums the topics are posted to, and who posts them.

Installation file is included in zip. Upload the files following the structure I created in the zip.

Example: [Link Removed]

A version for 7.4+ can be found here.


Attachments
2402-RSSTopicCreator.zip (97 downloads)


Top
#314329 - 06/05/07 04:14 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks Ian.

Is this the same as the beta version?
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314330 - 06/05/07 04:21 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian_W]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
it's the same as the latest one I posted in that topic, now it has instructions for installation

Top
#314337 - 06/05/07 08:26 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Is there an upgrade script as well, or do we need to alter tables manually?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314339 - 06/05/07 09:14 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Gizmo]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
alter manually

Top
#314340 - 06/05/07 09:29 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Mors Offline
User

Registered: 03/31/01
Posts: 49
Ian this is awesome. Thank you very much.. Now to get it working for me smile

Top
#314350 - 06/06/07 05:06 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Mors]
Mors Offline
User

Registered: 03/31/01
Posts: 49
I made a mistake when entering RSS feeds that didn't have any existing data on them ie: future RSS outlets that haven't been used. The program stopped visiting any additional RSS URLs entered in the list the second it found a URL with absolutely no data on it.

So when setting up RSS feed URLs make sure they have existing data on them. When it hits a null it just stopped polling past that url. Other then that this is an oustanding mod..

Thanks so much Ian Spence smile

FYI for now smile

Top
#314351 - 06/06/07 05:22 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Mors]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Have added an updated version.

Top
#314352 - 06/06/07 05:44 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Mors Offline
User

Registered: 03/31/01
Posts: 49
Thanks Ian smile

Again well done!!

Top
#314354 - 06/07/07 12:35 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Mors]
SGHB1138 Offline
Power User

Registered: 01/01/07
Posts: 59
Loc: UK
*curses himself for not being able to do this*

*curses himself for not being able to get other stuff to work*

frown
_________________________
Stephen G
Give Yourself to the Geek Side @
http://cinemageek.co.uk

Top
#314355 - 06/07/07 01:13 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: SGHB1138]
SGHB1138 Offline
Power User

Registered: 01/01/07
Posts: 59
Loc: UK
Do we need to add the tables manually?
_________________________
Stephen G
Give Yourself to the Geek Side @
http://cinemageek.co.uk

Top
#314359 - 06/07/07 03:43 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: SGHB1138]
SGHB1138 Offline
Power User

Registered: 01/01/07
Posts: 59
Loc: UK
frown

Totally unfamiliar with PhpAdmin I copy n pasted this:

Code:
CREATE TABLE %%TABLE_PREFIX%%TOPIC_FEEDS (
	FEED_ID int(4) unsigned not null auto_increment primary key,
	USER_ID int(9) unsigned not null,
	FORUM_ID int(9) unsigned not null,
	FEED_URL varchar(255),
	LAST_BUILD int(11) unsigned not null default '0',
	LAST_TOPIC_TIME int(11) unsigned not null default '0',
	CACHE_TIME int(9) unsigned not null default '30',
	TITLE_PREFIX varchar(32),
	BODY_FORMAT text,
	FEED_IS_ENABLED tinyint(1) default '1',
	FEED_WAS_ESCAPED tinyint(1) default '0',
	PARSE_BBCODE tinyint(1) default '0',
	TOPIC_ICON varchar(30),
	REGEXP_SPECIAL text
) TYPE=MyISAM



Into my Query window...resulting in this:


Code:
Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 14
STR: %%
SQL: CREATE TABLE %%TABLE_PREFIX%%TOPIC_FEEDS (
	FEED_ID int(4) unsigned not null auto_increment primary key,
	USER_ID int(9) unsigned not null,
	FORUM_ID int(9) unsigned not null,
	FEED_URL varchar(255),
	LAST_BUILD int(11) unsigned not null default '0',
	LAST_TOPIC_TIME int(11) unsigned not null default '0',
	CACHE_TIME int(9) unsigned not null default '30',
	TITLE_PREFIX varchar(32),
	BODY_FORMAT text,
	FEED_IS_ENABLED tinyint(1) default '1',
	FEED_WAS_ESCAPED tinyint(1) default '0',
X	PARSE_BBCODE tinyint(1) default '0',
	TOPIC_ICON varchar(30),
	REGEXP_SPECIAL text
) TYPE=MyISAM


SQL query:

CREATE TABLE %%TABLE_PREFIX%%TOPIC_FEEDS ( FEED_ID int(4) unsigned not null auto_increment primary key, USER_ID int(9) unsigned not null, FORUM_ID int(9) unsigned not null, FEED_URL varchar(255), LAST_BUILD int(11) unsigned not null default '0', LAST_TOPIC_TIME int(11) unsigned not null default '0', CACHE_TIME int(9) unsigned not null default '30', TITLE_PREFIX varchar(32), BODY_FORMAT text, FEED_IS_ENABLED tinyint(1) default '1', FEED_WAS_ESCAPED tinyint(1) default '0', PARSE_BBCODE tinyint(1) default '0', TOPIC_ICON varchar(30), REGEXP_SPECIAL text ) TYPE=MyISAM

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%%TABLE_PREFIX%%TOPIC_FEEDS (
    FEED_ID int(4) unsigned not null



frown
_________________________
Stephen G
Give Yourself to the Geek Side @
http://cinemageek.co.uk

Top
#314360 - 06/07/07 03:50 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: SGHB1138]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
where it says %%TABLE_PREFIX%% replace this with your usual table prefix - probably ubbt_

_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314361 - 06/07/07 04:48 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian_W]
SGHB1138 Offline
Power User

Registered: 01/01/07
Posts: 59
Loc: UK
*sighs happily*

Thank You

smile
_________________________
Stephen G
Give Yourself to the Geek Side @
http://cinemageek.co.uk

Top
#314363 - 06/07/07 05:26 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: SGHB1138]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
no worries smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314364 - 06/07/07 01:56 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian_W]
Mors Offline
User

Registered: 03/31/01
Posts: 49
you can also use the SQL command in your control panel to do this..

Top
#314365 - 06/07/07 07:31 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Mors]
SGHB1138 Offline
Power User

Registered: 01/01/07
Posts: 59
Loc: UK
Thank you too.

smile
_________________________
Stephen G
Give Yourself to the Geek Side @
http://cinemageek.co.uk

Top
#314392 - 06/12/07 10:04 AM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: SGHB1138]
FREAK1 Offline
User

Registered: 07/01/03
Posts: 46
I look at this and it is 100% Greek to me. It is exactly what I am looking for, but have no clue as to what to do. I downloaded the zip file, and man I feel dumber than an ox.

Top
#314393 - 06/12/07 02:28 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: FREAK1]
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Upload the each of those folders to your forums directory (the directory containing ubbthreads.php)

That'll leave the structure something like

../ubbthreads.php
../cache_builders/rss_topic_creator.php
../languages/english/admin/topic_feeds.php

Then open the txt file and follow the instructions in there. You'll run the one query, replacing %%TABLE_PREFIX%% with the table prefix used at your forums.

You'll then use your trusty text editor (notepad if you have nothing better) to edit a couple of files specified, and then you upload the modified files.

Go to your control panel, click "Topic Feeds" in the left bar, and set the feeds up

Top
#314649 - 07/06/07 03:25 PM Re: [7.0-7.3] RSS Topic Creator [Release Candidate] [Re: Ian Spence]
Calpy Offline
Power User

Registered: 12/17/02
Posts: 71
Thanks for this, Ian. This was exactly what I needed.

Top
Page 1 of 4 1 2 3 4 >



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks